﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Model.MetadataTypes;
namespace Model.Entities
{
    /// <summary>
    /// 实体类 站点功能说明, 此类请勿动，以方便表字段更改时重新生成覆盖
    /// </summary>
    [Serializable]
    [MetadataType(typeof(RBMT_STATIONS_FACTION_Metadata))]
    public partial class RBMT_STATIONS_FACTION
    {
        /// <summary>
        /// 创建<see cref="RBMT_STATIONS_FACTION"/>的实例
        /// </summary>
        public RBMT_STATIONS_FACTION()
        {
        }
        /// <summary>
        /// 主键ID
        /// </summary>
        public virtual string GUID { get; set; }

        		
        /// <summary>
        /// 功能名称
        /// </summary>
        public virtual string FACTION_NAME { get; set; }

    		
        /// <summary>
        /// 描述
        /// </summary>
        public virtual string DESCRIPTION { get; set; }

            /// <summary>
        /// 拓扑图基本信息表
        /// </summary>
        public virtual HRDS_NET_TOPOLOGY HRDS_NET_TOPOLOGY { get; set; }
		    		
        public override bool Equals(object obj)
        {
            RBMT_STATIONS_FACTION model = obj as RBMT_STATIONS_FACTION;
            return model != null && (ReferenceEquals(GUID,null) ? ReferenceEquals(model.GUID, null) : GUID.Equals(model.GUID));
        }
        public override int GetHashCode()
        {
            int hash = GetType().GetHashCode();
            hash = (hash * 397) ^ (ReferenceEquals(GUID, null) ? 0 : GUID.GetHashCode());
            return hash;
        }
    }
}
